

package com.hazelcast.map.impl.operation.steps;

import com.hazelcast.map.impl.operation.steps.engine.State;
import com.hazelcast.map.impl.operation.steps.engine.Step;

public enum TxnRollbackOpSteps implements IMapOpStep {

    ROLLBACK() {
        @Override
        public void runStep(State state) {
            state.getOperation().runInternalDirect();
        }

        @Override
        public Step nextStep(State state) {
            return UtilSteps.FINAL_STEP;
        }
    };

    TxnRollbackOpSteps() {
    }
}
